@import "index";
@import "community";
@import "recom";
@import "recomDetails";
@import "bag";
// f7fbfc
body{ position: relative; padding-top: 80px; background-color: #FFF; }
.content{ width: 1160px; margin: 0 auto; }
.back-top{ position: fixed; right: 30px; bottom: 30px; }
//头部
.header{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 50px;
    background-color: #fff;
    // border-bottom: 1px solid #ececec;
    box-shadow: 1px 1px 10px #e8e8e8;
    z-index: 9999;
    .header-content{
        >div,>ul,>a{ display: inline-block;}
        .logo{
            height: 100%;
            line-height: 50px;
            cursor: pointer;
            img{
                width: 47px;
                height: 40px;
                vertical-align: middle;
            }
        }
        .search{
            width: 350px;
            margin-left: 20px;
            input{
                width: 318px;
                height: 28px;
                padding-left: 20px;
                border:1px solid #ececec;
                border-radius: 5px;
            }
            button{
                width: 50px;
                height: 30px;
                margin-left: -55px;
                background-color: #42bdeb;
                border-radius: 5px;
                color: #FFF;
                cursor: pointer;
                vertical-align: middle;
                i{
                    font-size: 16px;
                }
            }
        }

        .user-info{
            >div{
                display: inline-block;
                vertical-align: middle;
            }
            .message{
                position: relative;
                margin-right: 25px;
                color: #929292;
                cursor: pointer;
                i{
                    font-size: 18px;
                }
                sup{
                    position: absolute;
                    top: -5px;
                    right: -10px;
                    width: 20px;
                    height: 20px;
                    background-color: #e9563e;
                    color: #FFF;
                    border-radius: 50%;
                    text-align: center;
                    line-height: 20px;
                    font-size: 10px;
                    transform: scale(.8);
                }
            }
            .head-portrait{
                width: 32px;
                height: 32px;
                border-radius: 50%;
                overflow: hidden;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
        }
        .login-btn{
            width: 70px;
            height: 30px;
            background-color: #F2CC2C;
            border-radius: 5px;
            color: #FFF;
            line-height: 30px;
            text-align: center;
            font-size: 14px;
            cursor: pointer;
        }
        .download-client{
            float: right;
            width: 90px;
            height: 30px;
            margin-top: 10px;
            background-color: #42bdeb;
            color: #FFF;
            text-align: center;
            line-height: 30px;
            border-radius: 5px;
            font-size: 14px;
            cursor: pointer;
        }
    }
}
//底部
.footer{
  height: 270px;
  padding: 35px 0 40px;
  background-color: #F6F6F6;
  .footer-content{
      height: 265px;
      .center{
        width: 700px;
        margin: auto auto;
        display: block;
        overflow: hidden;
      }

      >div{
          display: inline-block;
      }
      .left{
          float: left;
          width: 250px;
          border-right: 1px solid #ececec;
          h2{
            display: inline-block;
            vertical-align: top;
            width: 45%;
            margin-bottom: 32px;
            font-size: 16px;
            color: #929292;
          }
          ul{
            display: inline-block;
            width: 50%;
              li{
                  float: left;      
                  margin-bottom: 42px;
                  a{
                      color: #1E1E1E;
                      font-size: 20px;
                  }
              }
          }
      }
      .right{
          margin-left: 55px;
          a{
              display: inline-block;
              margin-left: 40px;
              line-height: 90px;
              text-align: center;
              color: #1E1E1E;
              div{
                  display: inline-block;
                  width: 90px;
                  height: 90px;
                  border-radius: 50px;
              }
              i{
                  color: #FFF;
                  font-size:45px;
                  vertical-align: middle;
              }
              &:nth-child(1) div{
                  background-color: #6fc93a;
              }
              &:nth-child(2) div{
                  background-color: #ea6142;
              }
              span{
                  display: block;
                  font-size: 20px;
              }
          }
      }
  }
}
.view-comments{
    font-size: 12px;
    >span{
        cursor: pointer;
    }
    i{
        margin-right: 5px;
    }
    .view{
        margin-right: 20px;
        color: #42bdeb;
        i{
            display: inline-block;
            width: 19px;
            height: 13px;
            background: url('../img/icon-view.png') no-repeat 0 0;
            background-size: cover;
            vertical-align: -2px;
        }
    }
    .comments{
        margin-right: 20px;
        color: #6FC93A;
        i{
            display: inline-block;
            width: 18px;
            height: 12px;
            background: url('../img/icon-comments.png') no-repeat 0 0;
            background-size: cover;
            vertical-align: -1px;
        }
    }
    .zan{
        color: #FB7BA2;
        i{
            display: inline-block;
            width: 17px;
            height: 16px;
            background: url('../img/icon-heart.png') no-repeat 0 0;
            background-size: cover;
            vertical-align: -4px;
        }
    }
}
.copyright{
    text-align: center;
    font-size: 18px;
    color: #929292;
}
.icon-hot{
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 5px;
    background: url('../img/icon-hot.png') no-repeat 0 0;
    background-size: cover;
    vertical-align: middle;
}

.swiper-container{
    box-sizing: border-box;
    transition: all .2s ease;
    &:hover{
        box-shadow: 0 0 3px 1px #42beec;
    }
    .swiper-slide{
        img{
            width: 100%;
            height: 100%;
        }
        p{
            position: absolute;
            right: 0;
            bottom: 30px;
            left: 0;
            padding: 0 10px;
            color: #FFF;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }
    .swiper-pagination{
        left: initial;
        right: 0;
        bottom: 0;
        width: 98%;
        height: 60px;
        padding-right: 2%;
        background: linear-gradient(rgba(255,255,255,0),rgba(0,0,0,.7));
        text-align: right;
        line-height: 85px;
        .swiper-pagination-bullet{
            width: 10px;
            height: 10px;
            opacity: 1;
            background-color: #fff;
        }
        .swiper-pagination-bullet-active{
          background-color: #42bdeb;
        }
    }
}
.nav{
    line-height: 44px;
    margin: 0 85px 0 45px;
    li{
        display: inline-block;
        width: 65px;
        margin: 0 15px;
        text-align: center;
        border-bottom: 4px solid transparent;
        box-sizing: border-box;
        a{
            display: block;
            color: #a1a1a1;
            font-size: 16px;
        }
        &:hover{
            border-bottom-color: #42bdeb;
            a{
                color: #42bdeb;
            }
        }
    }
    .active{
        border-bottom-color: #42bdeb;
        a{
            color: #42bdeb;
        }
    }
}
.user-detailInfo {
    display: inline-block;
    vertical-align: top;
    width: 20%;
    height:325px;
    box-shadow: 0px 0px 5px rgb(223, 223, 223);
    ul {
      li:nth-child(1) {
        width: 80px;
        height: 80px;
        background-size: 100% 100%;
        border-radius: 50%;
        margin: 15px auto;
      }
      li:nth-child(2) {
        text-align: center;
        .rig-conSp-left {
          display: inline-block;
          position: relative;
          font-size: 20px;
          font-weight: bold;
        }
        .rig-conSp-rig {
          position: absolute;
          bottom: 1px;
          right: -42px;
          i {
            display: inline-block;
            position: relative;
            height: 17px;
            line-height: 17px;
            background: #F4D347;
            padding: 0px 5px;
            padding-left: 18px;
            border-radius: 3px;
            font-size: 12px;
            color: white;
            margin-left: 5px;
            b {
              position: absolute;
              display: inline-block;
              transform: scale(0.8, 0.7);
              font-weight: normal;
              left: 4px;
              bottom: -1px;
              font-style: italic;
            }
          }
        }
      }
      li:nth-child(3) {
        margin-top: 5px;
        .rig-conUl {
          display: flex;
          flex-direction: row;
          justify-content: center;
          margin-bottom: 25px;
          li {
            width: 66px;
            height: 38px;
            span {
              display: block;
              text-align: center;

            }
            span:nth-child(2){
              font-size: 13px;
              color: darkgrey;
            }
          }
          .person-fans {
            margin: 0;
          }
          .person-post{
            border-left: 1px solid darkgrey;
            border-right: 1px solid darkgrey;
          }
          .person-many{
            margin: 0;
          }

        }
      }
      li:nth-child(4){
        .getpost,.contribute,.mybag{
          display: flex;
          flex-direction: row;
          align-items: center;
          width: 173px;
          height: 40px;
          line-height: 40px;
          color: white;
          background: #6FC93A;
          border-radius: 20px;
          margin: 15px auto;
          overflow: hidden;
          i{
            width: 17px;
            height: 18px;
            margin-left: 42px;
          }
          span{
            margin-left: 15px;
          }
        }
        .contribute{
          background: #42BEEC;
        }
        .mybag{
          i{
            width:22px;
            height: 24px; 
          }
          background: #F2CC2C;
        }
      }
    }
  }